package com.moss.cloud.base.api.model.from;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;

@Data
public class TenantConfigFrom implements Serializable {
    /** 数据ID */
    @NotNull(message = "数据唯一标识不能为空")
    private Long id;
    /** 配置值 */
    @NotBlank(message = "配置值不能为空")
    @Size(max = 200, message = "配置值最大200位")
    private String configValue;
}
